function fakeAsync(){

  let delay=Math.random()*100;
  return new Promise((resolve,reject)=>{
    setTimeout(()=>{
      console.log(`Task use ${delay}ms`);
      resolve(delay);
    },delay)
  })
}

module.exports=fakeAsync;
